package com.stylefeng.guns.modular.alarm.service.impl;

import com.stylefeng.guns.modular.system.model.DoorAlarmRecord;
import com.stylefeng.guns.modular.system.dao.DoorAlarmRecordMapper;
import com.stylefeng.guns.modular.alarm.service.IDoorAlarmRecordService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-10-17
 */
@Service
public class DoorAlarmRecordServiceImpl extends ServiceImpl<DoorAlarmRecordMapper, DoorAlarmRecord> implements IDoorAlarmRecordService {
    @Resource
    DoorAlarmRecordMapper doorAlarmRecordMapper;
    @Override
    public void deleteAll() {
        doorAlarmRecordMapper.deleteAll();
    }
}
